Skip to content

fix(id): smoke asserts the live schema version instead of a literal 2 (#13673) - #13707

Merged
dezren39 merged 1 commit into
mainfrom
lane-code-h-13673
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
lane-code-h-13673

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

The hosted-worker smoke asserted schema_version === 2 while src/user-do.ts bumped SCHEMA_VERSION to 3 in cb40903 (bridge v1, #3818), so the UserDO leg failed on main.

This reads SCHEMA_VERSION from src/user-do.ts in the smoke instead of repeating a literal, so a future bump moves both sides together, and asserts the /v1/state route against it.

Fixes #13673.

Verified locally: npm run smoke -> SMOKE OK (all checks pass; state reports schema_version: 3).

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-23T20:56:20Z",
    "session_id": "ses_e5df63860dbffeX57kCzOWq0Fo",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/fleet/lane-code-h-13673",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/fleet/lane-code-h-13673",
      "repo": "developing-today/code",
      "branch": "lane-code-h-13673",
      "sha": "001a7ae2cecc0d48342de209eda188d34778df1d"
    },
    "auth_subject": "oc-code-06",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Proof this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…#13673)

The hosted-worker smoke asserted schema_version === 2 while user-do.ts
bumped SCHEMA_VERSION to 3 in cb40903 (bridge v1, #3818), so the
UserDO leg failed on main. Read SCHEMA_VERSION from src/user-do.ts in
the smoke instead of repeating a literal, so a future bump moves both
sides together, and assert the state route against it.

Verified locally: npm run smoke -> SMOKE OK (all checks pass, state
reports schema_version 3).
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 56 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2f1c7339-142b-467f-b6b0-9556ee0172e6
Commits

Reviewing files that changed from the base of the PR and between f98afcc and 001a7ae.

Files selected for processing: 1

  • pkgs/id/hosted-worker/smoke/smoke.mjs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39
dezren39 merged commit 223c138 into main Nov 23, 2026
2 checks passed
@dezren39
dezren39 deleted the lane-code-h-13673 branch November 23, 2026 21:18
@dezren39 dezren39 added the audit:complete PR fully implemented spawning issue label Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

audit:complete PR fully implemented spawning issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

main CI failure: developing-today/code — id hosted-worker tests workflow (run 45246964369)

1 participant